//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-03A
TN_Widget.CreateTable([['Gavin DeGraw','Von Braun Center Mars Music Hall','Huntsville, AL','Thursday','5/2/2024','8:00 PM','6261877','Gavin-DeGraw-5-2-2024'],['Gavin DeGraw','The Senate at Tin Roof','Columbia, SC','Friday','5/3/2024','8:00 PM','6261878','Gavin-DeGraw-5-3-2024'],['Gavin DeGraw','Montgomery Performing Arts Centre','Montgomery, AL','Saturday','5/4/2024','8:00 PM','6261879','Gavin-DeGraw-5-4-2024'],['Gavin DeGraw','Soul Kitchen','Mobile, AL','Monday','5/6/2024','7:30 PM','6264862','Gavin-DeGraw-5-6-2024'],['Gavin DeGraw','Minglewood Hall','Memphis, TN','Tuesday','5/7/2024','8:00 PM','6261880','Gavin-DeGraw-5-7-2024'],['Gavin DeGraw','Little Rock Hall - AR','Little Rock, AR','Thursday','5/9/2024','8:00 PM','6261882','Gavin-DeGraw-5-9-2024'],['Gavin DeGraw','Hard Rock Live - Hard Rock Hotel & Casino Tulsa','Catoosa, OK','Friday','5/10/2024','8:00 PM','6259925','Gavin-DeGraw-5-10-2024'],['Gavin DeGraw','White Oak Music Hall - Downstairs','Houston, TX','Saturday','5/11/2024','7:00 PM','6261891','Gavin-DeGraw-5-11-2024'],['Gavin DeGraw','House Of Blues - Dallas','Dallas, TX','Sunday','5/12/2024','7:00 PM','6261892','Gavin-DeGraw-5-12-2024'],['Gavin DeGraw','The Truman - Kansas City','Kansas City, MO','Tuesday','5/14/2024','8:00 PM','6261895','Gavin-DeGraw-5-14-2024'],['Gavin DeGraw','The District','Sioux Falls, SD','Thursday','5/16/2024','7:30 PM','6264842','Gavin-DeGraw-5-16-2024'],['Gavin DeGraw','Capitol Theatre - Iowa','Davenport, IA','Friday','5/17/2024','7:00 PM','6261896','Gavin-DeGraw-5-17-2024'],['Gavin DeGraw','The Bluestone','Columbus, OH','Sunday','5/19/2024','7:00 PM','6261893','Gavin-DeGraw-5-19-2024'],['Colbie Caillat & Gavin DeGraw','Britt Festival Pavilion & Gardens','Jacksonville, OR','Thursday','8/1/2024','7:00 PM','6371029','Colbie-Caillat---Gavin-DeGraw-8-1-2024'],['Colbie Caillat & Gavin DeGraw','The Festival at Sandpoint','Sandpoint, ID','Saturday','8/3/2024','7:30 PM','6372949','Colbie-Caillat---Gavin-DeGraw-8-3-2024'],['Colbie Caillat & Gavin DeGraw','Mountain Winery','Saratoga, CA','Thursday','8/8/2024','7:30 PM','6348523','Colbie-Caillat---Gavin-DeGraw-8-8-2024'],['Gavin Degraw & Colbie Caillat','Palomar Starlight Theater at Pala Casino Spa and Resort','Pala, CA','Saturday','8/10/2024','8:00 PM','6379474','Gavin-Degraw---Colbie-Caillat-8-10-2024'],['Gavin DeGraw','Genesee Theatre','Waukegan, IL','Friday','9/13/2024','8:00 PM','5894074','Gavin-DeGraw-9-13-2024']],'Gavin DeGraw','http://www.ticketnetwork.com/ticket/Gavin-DeGraw-events.aspx');